from Common.connect_to_device import *
class MainPageLocator:
    home_loc_xpath = '//*[@resource-id="com.android.systemui:id/car_bottom_bar"]/android.widget.FrameLayout[1]/android.view.ViewGroup[1]'

    if device_type == "A1Back":
        GEEKR_Cinema = '(text="极氪影院")'
        film_loc = '(resourceId="com.zeekr.launcher.rear:id/tv_title", text="#film_name#")'
    if device_type != "A1Back":
        GEEKR_Cinema = '(text="极氪影院")'
        film_loc = '(resourceId="com.zeekr.entertainment.service:id/tv_title", text="#film_name#")'

    # film_mghxd_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="湄公河行动")'
    # film_kbzl_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="疯狂的麦克斯4：狂暴之路")'
    # film_xlql_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="心灵奇旅")'
    # film_cgfy_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="封神第一部：朝歌风云")'
    # film_lldq_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="流浪地球2")'
    # film_zlhqklgc_loc = '(resourceId="com.arcvideo.car.iqy.video:id/tv_card_title", text="查理和巧克力工厂")'
    home_loc = '(resourceId="com.android.systemui:id/iv_fan")'
    conditioner_loc = '(resourceId="com.zeekr.launcher.rear:id/window_navigation_hvac")'
    back_loc='(resourceId="com.zeekr.launcher.rear:id/window_navigation_back")'
    left_loc = '(resourceId="com.zeekr.launcher.rear:id/window_navigation_one_screen")'




if __name__ == '__main__':
    pass
